package com.ysx.teacher.day20210907.constructors.ch02;

import com.ysx.teacher.day20210907.constructors.ch02.Student;

public class StudentTest {

    public static void main(String[] args) {

        Student student = new Student();

        // 4个属性 表中1个字段  很多属性  构造方法
        student.setAge(22);
        student.setSalary(8000);
        student.setGender('女');
        student.setName("周海燕");

        System.out.println(student);
    }
}
